package org.example;

public class MappingRule {
    private String sourceField;
    private String targetField;
    private String conversionType;
    private String enumMapping;
    private String dateFormat;
    private String foreignKeyTable;
    private String foreignKeyColumn;
    // 添加外键目标字段属性
    private String foreignKeyTargetColumn;
    // 添加目标字段类型属性
    private String targetType;
    // 新增目标表字段
    private String targetTable;
    private String filePath;
    private String defaultValue;



    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    // Getters and Setters
    public String getSourceField() {
        return sourceField;
    }

    public void setSourceField(String sourceField) {
        this.sourceField = sourceField;
    }

    public String getTargetField() {
        return targetField;
    }

    public void setTargetField(String targetField) {
        this.targetField = targetField;
    }

    public String getConversionType() {
        return conversionType;
    }

    public void setConversionType(String conversionType) {
        this.conversionType = conversionType;
    }

    public String getEnumMapping() {
        return enumMapping;
    }

    public void setEnumMapping(String enumMapping) {
        this.enumMapping = enumMapping;
    }

    public String getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }

    public String getForeignKeyTable() {
        return foreignKeyTable;
    }

    public void setForeignKeyTable(String foreignKeyTable) {
        this.foreignKeyTable = foreignKeyTable;
    }

    public String getForeignKeyColumn() {
        return foreignKeyColumn;
    }

    public void setForeignKeyColumn(String foreignKeyColumn) {
        this.foreignKeyColumn = foreignKeyColumn;
    }

    public String getForeignKeyTargetColumn() {
        return foreignKeyTargetColumn;
    }

    public void setForeignKeyTargetColumn(String foreignKeyTargetColumn) {
        this.foreignKeyTargetColumn = foreignKeyTargetColumn;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public String getTargetTable() {
        return targetTable;
    }

    public void setTargetTable(String targetTable) {
        this.targetTable = targetTable;
    }
}